package org.grow.leavejpa.exception;

/**
 * @Author: xwg
 * @CreateDate: 21-6-8
 */

public class JulyException extends RuntimeException {
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public JulyException(String message, int code) {
        super(message);
        this.code = code;
    }

    public JulyException(String message) {
        super(message);
        this.code=999;
    }
}
